package com.example.springboot.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * <p>
 * 
 * </p>
 *
 * @author dhn
 * @since 2024-03-21
 */
@Getter
@Setter
@TableName("com_farm")
@ApiModel(value = "ComFarm对象", description = "")
@ToString
public class ComFarm implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("电站ID")
    private Integer farmId;

    /**
     * 集控中心角色标识
     * */
    private String jkRole;

    @ApiModelProperty("电站名称")
    private String farmName;

    @ApiModelProperty("电站地址")
    private String farmAddress;

    @ApiModelProperty("电站编号")
    private String farmCode;

    @ApiModelProperty("电站编码")
    private String farmIdentify;

    @ApiModelProperty("电站类型 0:风电  1:光伏")
    private Integer farmType;

    @ApiModelProperty("详细地址")
    private String address;


}
